package org.spring.springboot.app.file.domain.po;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "video")
public class VideoPO {
    @Id
    private String id;

    /**
     * 商户ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 剧目ID
     */
    @Column(name = "drama_id")
    private String dramaId;

    /**
     * 视频编号
     */
    @Column(name = "video_ref")
    private String videoRef;

    /**
     * 视频集数
     */
    @Column(name = "video_gather")
    private Integer videoGather;

    /**
     * 视频名称
     */
    @Column(name = "video_name")
    private String videoName;

    /**
     * 视频全称
     */
    @Column(name = "video_all_name")
    private String videoAllName;

    /**
     * 视频价格
     */
    @Column(name = "video_price")
    private BigDecimal videoPrice;

    /**
     * 视频状态  1 已选取 2 未选取
     */
    @Column(name = "video_state")
    private Byte videoState;

    /**
     * 转码状态  1 已转码 2 未转码
     */
    @Column(name = "video_transcoding_state")
    private Byte videoTranscodingState;


    /**
     * 视频下载状态 1 不可下载  2 申请下载中 3 可下载
     */
    @Column(name = "video_download_state")
    private Integer videoDownloadState;

    /**
     * 视频原地址文件ID
     */
    @Column(name = "video_file_id")
    private String videoFileId;

    /**
     * 视频原地址地址
     */
    @Column(name = "video_old_url")
    private String videoOldUrl;

    /**
     * 视频转码后播放地址
     */
    @Column(name = "video_url")
    private String videoUrl;

    /**
     * 视频转码后大小 KB
     */
    @Column(name = "video_size")
    private BigDecimal videoSize;

    /**
     * 视频转码后码率
     */
    @Column(name = "video_rate")
    private BigDecimal videoRate;

    /**
     * 视频点赞数量
     */
    @Column(name = "video_like")
    private Long videoLike;

    /**
     * 视频播放数量
     */
    @Column(name = "video_play")
    private Long videoPlay;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private Date createDate;

    /**
     * 修改人
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 修改时间
     */
    @Column(name = "update_date")
    private Date updateDate;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 删除标志
     */
    @Column(name = "del_flag")
    private Boolean delFlag;


    /**
     * 视频播放数量
     */
    @Column(name = "is_label")
    private Integer isLabel;
    @Column(name = "is_examine")
    private Integer isExamine;
    @Column(name = "is_cropping")
    private Integer isCropping;
    @Column(name = "is_synchronous")
    private Integer isSynchronous;
    @Column(name = "is_oss")
    private Integer isOss;
    @Column(name = "label_desc")
    private String labelDesc;
    @Column(name = "examine_desc")
    private String examineDesc;


}